package cn.sharp.bbs.dao.msg;

import cn.sharp.bbs.entity.DO.ChatRoom;
import cn.sharp.bbs.entity.DO.Lettercontent;

import java.util.List;

public interface ChatDao {

    Long getChatRoom(Long one, Long another);

    List<Lettercontent> getChatHistory(Long chatRoom);

    Long newChatRoom(Long user, Long userId);

    List<ChatRoom> getChatRoomList(Long id);
}
